<template>
    <div class="head">
        <slot :title="title">
          &emsp;  {{ title.title}}
        </slot>
    </div>
</template>
<script setup lang="ts">
    import {defineProps} from 'vue'
    const title=defineProps(['title'])
</script>
<style lang="scss" scoped>
    .head
    {
        width: 92%;
        height: 30px;
        background: url('../assets/images/titlebg.png') no-repeat 0 0 / 100% 100%;
        margin: 1px 20px;
        color: #e2e4bc;
        line-height: 30px;
        font-size: 14px;
    }
</style>